package com.itheima.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.LogDao;
import com.itheima.pojo.SysLog;
import com.itheima.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * @ClassName LogServiceImpl
 * @Description
 * @Author yuanying
 * @Date 2020/3/8 1:08
 * @Version 1.0
 */
@Service(interfaceClass =LogService.class )
@Transactional
public class LogServiceImpl implements LogService {

    @Autowired
    LogDao logDao;

    @Override
    public void saveLog(SysLog sysLog) {
        logDao.saveLog(sysLog);
    }
}
